#ifndef CLASSIFIER_H
#define CLASSIFIER_H

#include "list.h"
#define timersub(a, b, result)                       \
  do {                                               \
    (result)->tv_sec = (a)->tv_sec - (b)->tv_sec;    \
    (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
    if ((result)->tv_usec < 0) {                     \
      --(result)->tv_sec;                            \
      (result)->tv_usec += 1000000;                  \
    }                                                \
  } while (0)

#ifdef __cplusplus
extern "C" {
#endif
list *read_data_cfg(char *filename);
#ifdef __cplusplus
}
#endif
#endif
